'\" te
.TH ck-history 1 "22 Oct 2009" "SunOS 5.11" "User Commands"
.SH "NAME"
ck-history \- ConsoleKit history
.SH "SYNOPSIS"
.PP
\fBck-history\fR [-\fB-frequent\fR] [-\fB-help\fR] [-\fB-last\fR] [-\fB-last-compat\fR] [-\fB-log\fR] [-\fB-seat=\fIseat\fR\fR] [-\fB-session-type=\fItype\fR\fR] [-\fB-user=\fIuser\fR\fR] [-\fB-version\fR]
.SH "DESCRIPTION"
.PP
\fBck-history\fR is a utility that provides information from the
ConsoleKit database about what users have logged into the system\&.  It supports
options to specify whether to provide information about users who have logged
in most frequently or most recently\&.
.PP
The \fBck-history\fR utility is used by 
\fBgdm\fR(1m)
when the GDM Face Browser is enabled to display users in the order of
frequency\&.
.SH "OPTIONS"
.PP
The following options are supported:
.sp
.ne 2
.mk
\fB-\fB-frequent\fR\fR
.in +32n
.rt
Show listing of logged-in users in the most frequent order\&.
.sp
.sp 1
.in -32n
.sp
.ne 2
.mk
\fB-\fBh\fR, -\fB-help\fR\fR
.in +32n
.rt
Display detailed usage message\&.
.sp
.sp 1
.in -32n
.sp
.ne 2
.mk
\fB-\fB-last\fR\fR
.in +32n
.rt
Show listing of all user logins since ConsoleKit began logging, in the most
recent order\&.
.sp
.sp 1
.in -32n
.sp
.ne 2
.mk
\fB-\fB-last-compat\fR\fR
.in +32n
.rt
Show listing of logged-in users in the most-recent order\&.  The output is
displayed in
\fBlast\fR(1)
compatible format\&.
.sp
.sp 1
.in -32n
.sp
.ne 2
.mk
\fB-\fB-log\fR\fR
.in +32n
.rt
Show full ConsoleKit event log\&.
.sp
.sp 1
.in -32n
.sp
.ne 2
.mk
\fB-\fBs\fR, -\fB-seat=\fIseat\fR\fR\fR
.in +32n
.rt
Show entries for the specified \fIseat\fR\&.
.sp
.sp 1
.in -32n
.sp
.ne 2
.mk
\fB-\fBt\fR, -\fB-session-type=\fItype\fR\fR\fR
.in +32n
.rt
Show entries for the specified session \fItype\fR\&.
.sp
.sp 1
.in -32n
.sp
.ne 2
.mk
\fB-\fBu\fR, -\fB-user=\fIuser\fR\fR\fR
.in +32n
.rt
Show entries for the specified \fIuser\fR\&.
.sp
.sp 1
.in -32n
.sp
.ne 2
.mk
\fB-\fBV\fR, -\fB-version\fR\fR
.in +32n
.rt
Display the version of the \fBck-history\fR application\&.
.sp
.sp 1
.in -32n
.SH "EXAMPLES"
.PP
\fBExample 1: Show most frequently logged in users\fR
.PP
.PP
.nf
example% \fBck-history -\fB-frequent\fR\fR
.fi
.PP
\fBExample 2: Show the entire ConsoleKit log\&.\fR
.PP
.PP
.nf
example% \fBck-history -\fB-log\fR\fR
.fi
.SH "FILES"
.PP
The following files are used by this application:
.sp
.ne 2
.mk
\fB\fB/usr/bin/ck-history\fR\fR
.sp .6
.in +4
Executable for ConsoleKit history\&.
.sp
.sp 1
.in -4
.sp
.ne 2
.mk
\fB\fB/var/log/ConsoleKit/history\fR\fR
.sp .6
.in +4
ConsoleKit history database\&.
.sp
.sp 1
.in -4
.SH "ATTRIBUTES"
.PP
See
\fBattributes\fR(5)
for descriptions of the following attributes:
.sp
.TS
tab() allbox;
cw(2.750000i)| cw(2.750000i)
lw(2.750000i)| lw(2.750000i).
ATTRIBUTE TYPEATTRIBUTE VALUE
Availabilitylibrary/xdg/consolekit
Interface stabilityVolatile
.TE
.sp
.SH "SEE ALSO"
.PP
\fBck-launch-session\fR(1),
\fBck-list-sessions\fR(1),
\fBck-seat-tool\fR(1m),
\fBconsole-kit-daemon\fR(1m),
\fBgdm\fR(1m),
\fBattributes\fR(5)
.SH "NOTES"
.PP
Written by Brian Cameron, Sun Microsystems Inc\&., 2009\&.
Copyright (c) 2009 by Sun Microsystems, Inc\&.
...\" created by instant / solbook-to-man, Tue 27 Jan 2015, 17:22
...\" LSARC 2009/432 ConsoleKit 
